
package com.mmm.station.service;

import com.netflix.hystrix.contrib.javanica.annotation.HystrixCommand;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient(value = "server4", fallback = UserHystrix.class)
public interface Server4Service {

    @HystrixCommand(fallbackMethod = "add")
    @RequestMapping(method = RequestMethod.GET, value = "/add4")
    String add();

}
